package com.relife.core.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

/**
 * sql语句配置
 * 
 * @author WU
 * @date 2016-11-28 11:46:52
 */
@Entity
@Table(name = "sys_sql_set", uniqueConstraints = { @UniqueConstraint(columnNames = { "SQL_KEY" }) })
public class SqlSetEntity extends BaseEntity {

	private static final long serialVersionUID = 4565772991108085554L;
	/** SQL语句 **/
	private String sqlText;
	/** key值 **/
	private String sqlKey;
	/** 名称 **/
	private String sqlName;
	/** 说明 **/
	private String remark;

	/** SQL语句 **/
	@Column(name = "SQL_TEXT")
	public String getSqlText() {
		return sqlText;
	}

	/** SQL语句 **/
	public void setSqlText(String sqlText) {
		this.sqlText = sqlText;
	}

	/** key值 **/
	@Column(name = "SQL_KEY")
	public String getSqlKey() {
		return sqlKey;
	}

	/** key值 **/
	public void setSqlKey(String sqlKey) {
		this.sqlKey = sqlKey;
	}

	/** 名称 **/
	@Column(name = "SQL_NAME")
	public String getSqlName() {
		return sqlName;
	}

	/** 名称 **/
	public void setSqlName(String sqlName) {
		this.sqlName = sqlName;
	}

	@Column(name = "REMARK")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
